<template>
  <div class="site-wrapper site-page--not-found">
    <div class="site-content__wrapper">
      <div class="site-content">
        <h2 class="not-found-title">404</h2>
        <p class="not-found-desc">抱歉！您访问的页面<em>失联</em>啦 ...</p>
        <el-button @click="$router.go(-1)" class="button--green">返回上一页</el-button>
        <el-button class="not-found-btn-gohome btn-grey" @click="$router.replace('/')">首页</el-button>
      </div>
    </div>
  </div>
</template>

<script>
  export default {
    layout: 'empty',
    name: 'page404a'
  }
</script>

<style>
.site-wrapper.site-page--not-found {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
}
.site-wrapper.site-page--not-found .site-content__wrapper {
  padding: 0;
  margin: 0;
  background-color: #fff;
}
.site-wrapper.site-page--not-found .site-content {
  position: fixed;
  top: 15%;
  left: 50%;
  z-index: 2;
  padding: 30px;
  text-align: center;
  transform: translate(-50%, 0);
}
.site-wrapper.site-page--not-found .not-found-title {
  margin: 20px 0 15px;
  font-size: 10em;
  font-weight: 400;
  color: rgb(55, 71, 79);
}
.site-wrapper.site-page--not-found .not-found-desc {
  margin: 0 0 30px;
  font-size: 26px;
  text-transform: uppercase;
  color: rgb(118, 131, 143);
}
.site-wrapper.site-page--not-found .not-found-desc  > em {
  font-style: normal;
  color: #ee8145;
}
.site-wrapper.site-page--not-found .not-found-btn-gohome {
  margin-left: 30px;
}
.button--green {
  border-radius: 4px;
  border: 1px solid #3b8070;
  color: #3b8070;
  padding: 10px 30px;
}
.button--green:hover {
  color: #fff;
  background-color: #3b8070;
}
.btn-grey {
  border-radius: 5px;
  color: #fff;
  background-color: #346c9c;
  padding: 10px 30px;
}
.btn-grey:hover {
  color: #35495e;
  border: 1px solid #35495e;
  background-color: #fff;
}
</style>
